find_path(LIBEVENT_INCLUDE_DIR 
  NAMES event.h
  PATHS
  #/mingw64/lib
  #/mingw64/include/event2
)
message(STATUS "${LIBEVENT_INCLUDE_DIR}")

find_library(LIBEVENT_LIBRARY
  NAMES event
  PATH_SUFFIXES lib
  #/mingw64/include/event2
)

if(WIN32)
    set(LIBEVENT_LIBRARY ${LIBEVENT_LIBRARY} "ws2_32")
endif()